package com.ssy.lingxi.order.model.vo.basic.request;

import com.ssy.lingxi.common.model.vo.PageVO;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * 订单商品Id作为接口参数
 * @author 万宁
 * @version 2.0.0
 * @date 2021-09-23
 */
public class OrderProductIdVO extends PageVO implements Serializable {
    private static final long serialVersionUID = -3359409030885486011L;

    /**
     * 订单商品Id
     */
    @NotNull(message = "订单商品Id要大于0")
    @Positive(message = "订单商品Id要大于0")
    private Long orderProductId;

    public Long getOrderProductId() {
        return orderProductId;
    }

    public void setOrderProductId(Long orderProductId) {
        this.orderProductId = orderProductId;
    }
}
